package com.icongyou.enterprise.talent_marking.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 对应表: student_performance_snapshots
 */
@Data
public class StudentPerformanceSnapshots {
    private String id;                           // id VARCHAR(36)
    private String studentId;                    // student_id VARCHAR(36)
    private String courseId;                     // course_id VARCHAR(36)
    private String courseName;                   // course_name VARCHAR(100)
    private LocalDate snapshotDate;              // snapshot_date DATE
    private BigDecimal courseTotalScore;         // course_total_score DECIMAL(5,2)
    private Integer courseRanking;               // course_ranking INT
    private Integer completedTasks;              // completed_tasks INT
    private String recentContributions;          // recent_contributions JSON (存为 JSON 字符串)
    private String activeAssignments;            // active_assignments JSON (存为 JSON 字符串)
    private LocalDateTime createdTime;           // created_time DATETIME
}